package com.lgx.common.service;

import java.util.List;
import java.util.Map;

import com.lgx.common.entity.Dictionary;

/**
 * 
 * @author acer
 *
 */
public interface IDictionaryService {

	public Dictionary createDictionary(Dictionary d);
	public Dictionary updateDictionary(Dictionary d);
	public void deleteDictionary(Dictionary d);
	public void deleteDictionary(long id);
	
	public Dictionary findDictionaryById(long id);
	
	public List<Dictionary> findDictionaryList();
	
	public List<Dictionary> findDictionaryList(String kind);
	
	public Map<String,List<Dictionary>> initDictionaryMap();
	
	public List<Object> initDictionary();
}
